import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:niuren_demo/configs/Colors_util.dart';
import 'package:niuren_demo/view/text/text_style.dart';

class NrAccountTitle extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: EdgeInsets.all(5),
      padding: EdgeInsets.fromLTRB(15, 8, 0, 5),
      decoration: BoxDecoration(
          color: ColorsUtil.hexColor(0xC0984E),
          borderRadius: BorderRadius.circular(5),
          boxShadow: [
            BoxShadow(
              color: Colors.black12,
              offset: Offset(0.0, 15.0),
              blurRadius: 15.0,
              spreadRadius: 1.0,
            )
          ]
      ),
      child: Row(
        children: [
          Icon(Icons.supervised_user_circle_rounded,color: Colors.white,size: 42,),
          Column(
            mainAxisAlignment: MainAxisAlignment.center,
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              Text_style(
                data: "牛人账户",
                color: Colors.white,
                fontSize: 18,
              ),
              Text_style(
                data: "注册新的牛人账户",
                fontSize: 12,
                color: ColorsUtil.hexColor(0xD9D9D9),
              )
            ],
          ),
        ],
      ),
    );
  }
}
